home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / 99 Bottles hack / MyUtils / Binhex.h < prev    next >
Encoding:
Text File  |  2001-06-23  |  479 b   |  15 lines

  1. //#include "stdio.h"
  2. //#include "string.h"
  3.  
  4. #include <Files.h>
  5.  
  6. //pascal short ConvertFromBinhex(Boolean readFromDisk,Ptr theBinhexPtr,long dataLength);
  7. //pascal short ConvertToBinhex(Boolean saveToDisk,Handle    *theBinhexHandle);
  8.  
  9. typedef pascal void (*Callback)(long);
  10.  
  11. pascal short ConvertFromBinhex(FSSpec    *inFSS, Boolean deleteBinHex, Boolean deleteOld, Callback startup, Callback progress);
  12. pascal short ConvertToBinhex(FSSpec *inFSS, Callback startup, Callback progress);
  13.  
  14.  
  15.